package com.cloud.pole.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import com.cloud.pole.user.model.entity.BaseUser;
import com.cloud.pole.user.model.entity.CpChannelNet;

import tk.mybatis.mapper.common.Mapper;

public interface BaseUserMapper extends Mapper<BaseUser> {
	
    public BaseUser selectByUserId(@Param("id") Long id);

	public int insertUseGeneratedKeys(BaseUser entity);
	

    public BaseUser selectByUserNameOrMobile(String key);
    
    public List<BaseUser> selectPageShopGoodsAdminList(Map<String, Object> map);

    public BaseUser selectByBaseUserIdKey(Integer userId);
    
    public BaseUser selectMarketCode(String marketCode);
    
    public void updateToBaseUserUp(BaseUser baseUser);
}